import React  from 'react'
import ReactDom from 'react-dom'
import "./BackDrop.css"

const BackdropDOM = document.getElementById('Backdrop-root');

export default function BackDrop(props){
  return ReactDom.createPortal(
    <div className='Backdrop'>
        {props.children}
    </div>
    , BackdropDOM
    );
};
